package com.itheima.service;

import com.itheima.User;
import com.itheima.result.PageResult;

import com.itheima.User;

public interface UserService {
    void delById(Integer id);
    User update(User user);

    /**
     * 分页查询
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageResult pageQuery(Integer currentPage, Integer pageSize);
    User findById(Integer id);
}
